package ${package.Parent}.convert;

import ${package.Parent}.domain.co.${entity?replace('Entity', '')}AddCo;
import ${package.Parent}.domain.co.${entity?replace('Entity', '')}PageCo;
import ${package.Parent}.domain.co.${entity?replace('Entity', '')}UpdateCo;
import ${package.Parent}.domain.vo.${entity?replace('Entity', '')}PageVo;
import ${package.Parent}.domain.vo.${entity?replace('Entity', '')}Vo;
import ${package.Entity}.${entity};
import org.mapstruct.Mapper;

/**
* <p>
    * ${table.comment!}
    * </p>
*
* @author ${author}
* @since ${date}
*/
@Mapper(componentModel = "spring")
public interface ${entity?replace('Entity', 'Convertor')} {

    ${entity} addCoToEntity(${entity?replace('Entity', 'AddCo')} addCo);

    ${entity} updateCoToEntity(${entity?replace('Entity', 'UpdateCo')} addCo);

    ${entity?replace('Entity', 'PageVo')} entityToPageVo(${entity} entity);

    ${entity?replace('Entity', 'Vo')} entityToVo(${entity} entity);
}
